package com.studentmanager.domain;

import java.util.Date;

public class Activity {
    private Integer id;  // 活动ID
    private String name; // 活动名
    private String category; // 活动类型
    private String title; // 活动全称
    private String creator; // 活动创建者
    private String abstractText; // 活动摘要
    private String detailedDesc; // 活动详细内容
    private Integer status; // 状态：0表示已创建，1表示已发布，2表示已结束归档，3表示已删除
    private Date createdTime; // 活动创建时间
    private Date archivedTime; // 活动归档时间
    private String picUrls; // 活动图片地址
    private Date startTime; // 活动开始时间
    private Date endTime; // 活动结束时间

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getAbstractText() {
        return abstractText;
    }

    public void setAbstractText(String abstractText) {
        this.abstractText = abstractText;
    }

    public String getDetailedDesc() {
        return detailedDesc;
    }

    public void setDetailedDesc(String detailedDesc) {
        this.detailedDesc = detailedDesc;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getArchivedTime() {
        return archivedTime;
    }

    public void setArchivedTime(Date archivedTime) {
        this.archivedTime = archivedTime;
    }

    public String getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String picUrls) {
        this.picUrls = picUrls;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "ManagerActivity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", title='" + title + '\'' +
                ", creator='" + creator + '\'' +
                ", abstractText='" + abstractText + '\'' +
                ", detailedDesc='" + detailedDesc + '\'' +
                ", status=" + status +
                ", createdTime=" + createdTime +
                ", archivedTime=" + archivedTime +
                ", picUrls='" + picUrls + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
